package mysql

import "gorm.io/gorm"

type Produce struct {
	gorm.Model
	ProductCode  string `gorm:"type:varchar(20);not null;index:ip_idx"`
	ProductName  string `gorm:"type:varchar(50);not null;"`
	ProductPrice string `gorm:"type:varchar(50);not null;"`
	ProductCost  string `gorm:"type:varchar(50);not null;"`
	Img          string `gorm:"type:varchar(50);not null;"`
	UserId       int    `gorm:"type:int(11);not null;"`
}
